package foodmaterial.dao;

import foodmaterial.dto.*;
import foodmaterial.entity.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FinancialDao {
    //损溢查询
    List<StockBillDetail> selectStockDetail(StockBillDto dto) ;

    //采购对账单
    List<PurchaseBill> selectPurchaseBill(PurchaseBillDto dto) ;

    //采购汇总
    List<PurchaseBillDetails> selectPurchaseSummary(PurchaseBillDto dto) ;

    Double selectPurchaseSummaryTotalMoney(PurchaseBillDto dto);

    List<OrdersDetail> selectBillingDetailedList(CustomerBillingDetailedListDto dto) ;
    List<OrdersRecipe> selectRecipeBillingDetailedList(CustomerBillingDetailedListDto dto) ;

    List<Orders> selectCustomerCheck(CustomerBillingDetailedListDto dto) ;

    List<OrdersDetail> selectSaleSummary(SaleSummaryDto dto) ;

    Double selectSaleSummaryTotalMoney(SaleSummaryDto dto) ;

    List<OrdersRecipe> selectRecipeSaleSummary(OrdersRecipeDto dto) ;

    Double selectRecipeSaleSummaryTotalMoney(OrdersRecipeDto dto) ;
}
